package com.learn.hibernatevalidator.chapter02.inheritance;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author: liyf
 * @create: 2024-12-21 22:40
 **/
@Data
public class Car {

    private String manufacturer;

    @NotNull
    public String getManufacturer() {
        return manufacturer;
    }
}
